package main.IO;

import org.junit.Test;

/**
 * @author Administrator
 * @create 2017-01-24 14:48
 **/
public class PathTest {
    @Test
    public void test() throws Exception{
        System.out.println(PathTest.class.getResource(""));
        System.out.println(PathTest.class.getResource("/"));
        System.out.println(PathTest.class.getResource("/").getFile());
    }
//    file:/D:/test/target/classes/main/IO/
//    file:/D:/test/target/classes/
//         /D:/test/target/classes/
}
